<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
			<title>查看会员</title>
			<link rel="stylesheet" type="text/css" href="../css/style1.css" />
			<link rel="stylesheet" type="text/css" href="../css/base.css" />
			<link rel="stylesheet" type="text/css" href="../css/indexbody.css" />
			<script type="text/javascript" src="../js/frame.js"></script>
			<script type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>
			<script type="text/javascript">
		window.onload=function(){
		document.getElementById("hide").style.display="none";
			document.getElementById("sc").style.display="none";
			document.getElementById("vip").style.display="block";
			document.getElementById("mb").style.display="none";
			document.getElementById("sys").style.display="none";
	}
</script>

	</head>
	<body background='../images/allbg.gif' leftmargin='8' topmargin='8'>
		<div id="container">
			<jsp:include page="../header.jsp"></jsp:include>
			<div style="float: left; width: 195px; height: 550px">
				<jsp:include page="../leftnav.jsp"></jsp:include>
			</div>
			<div
				style="float: left; overflow-y: scroll; overflow-x: hidden; width: 785px; height: 550px;">
			<form name="from2" action="<%=path%>/manager/vip/updateUserAction.action" method="post">
			<input type="hidden" name="users.id" value="<s:property value="users.id"/>"/>
			<input type="hidden" name="users.userType.userType" value="<s:property value="users.userType.userType"/>"/>
			<input type="hidden" name="users.userType.id" value="<s:property value="users.userType.id"/>"/>
			<input type="hidden" name="users.userType.integral" value="<s:property value="users.userType.integral"/>"/>
			<input type="hidden" name="users.regTime" value="<s:property value="users.regTime"/>"/>
				<table width="98%" border="0" align="center" cellpadding="3"
					cellspacing="1" bgcolor="#D6D6D6">
					<tr>
						<td height="19" background="../images/tbg.gif"
							style="padding-left: 10px;">
							<a href='<%=path%>/manager/vip/userAction.action'><b>会员管理</b>
							</a> &gt;&gt; 查看会员
						</td>
					</tr>
					<tr>
						<td height="200" bgcolor="#FFFFFF" align='center'>
						
							<table width="98%" border="0" cellspacing="0" cellpadding="6">
								<tr>
									<td colspan="2" height="10"></td>
								</tr>
									<tr>
										<td width="17%" align="right" class='bline'>
											用户名：
										</td>
										<td width="83%" class='bline' style="text-align: left;">
											<b><s:property value="users.userName"/></b>
										</td>
									</tr>
									<tr>
										<td align="right" class='bline'>
											用户密码：
										</td>
										<td class='bline' style="text-align: left;">
											<input name="users.password" type="password" id="pwd" value="<s:property value="users.password"/>"
											style="width: 150px;" />
										</td>
									</tr>
									<tr>
										<td align="right" class='bline'>
											注册时间：
										</td>
										<td class='bline' style="text-align: left;">
											<s:property value="users.regTime"/>
										</td>
									</tr>
								<tr>
									<td align="right" class='bline'>
										用户类型：
									</td>
									
									<td class='bline' style="text-align: left;">
									<s:property value="users.userType.userType"/>
									</td>
								</tr>
								<tr>
									<td align="right" class='bline'>
										电子邮箱：
									</td>
									<td class='bline' style="text-align: left;">
										<input name="users.email" type="text" id="email" value="<s:property value="users.email"/>"
											style="width: 150px;" />
									</td>
								</tr>
								<tr>
									<td align="right" class='bline'>
										昵 称：
									</td>
									<td class='bline' style="text-align: left;">
										<input name="users.userName" type="text" value="<s:property value="users.userName"/>" id="uname" size="20"
											style="width: 150px;" />
									</td>
								</tr>
								<tr>
									<td align="right" class='bline'>
										性 别：
									</td>
									<td class='bline' style="text-align: left;">
										<input type="radio" name="users.sex" class="np" value="男" checked="checked" />
										男&nbsp;
										<input type="radio" name="users.sex" class="np" value="女"/>
										女&nbsp;
										<input type="radio" name="users.sex" class="np" value="保密"/>
										保密
										
									</td>
								</tr>
								<tr>
									<td align="right" class='bline'>
										公司名称：
									</td>
									<td class='bline' style="text-align: left;">
										<input name="users.companyName" type="text" id="money" value="<s:property value="users.companyName"/>"
											style="width: 250px;" />
									</td>
								</tr>
									<tr>
									<td align="right" class='bline'>
										QQ 号码：
									</td>
									<td class='bline' style="text-align: left;">
										<input name="users.qq" type="text" id="money" value="<s:property value="users.qq"/>"
											style="width: 150px;" />
									</td>
								</tr>
									<tr>
									<td align="right" class='bline'>
										电话-手机号码：
									</td>
									<td class='bline' style="text-align: left;">
										<input name="users.phone" type="text" id="money" value="<s:property value="users.phone"/>"
											style="width: 150px;" />
									</td>
								</tr>
								<tr>
									<td align="right" class='bline'>
										地址：
									</td>
									<td class='bline' style="text-align: left;">
										<input name="users.address" type="text" id="money" value="<s:property value="users.address"/>"
											style="width: 250px;" />
									</td>
								</tr>
								<tr>
									<td align="right" class='bline'>
										生日：
									</td>
									<td class='bline' style="text-align: left;">
										<input name="users.birthday" type="text" id="money" value="<s:property value="users.birthday"/>"
											style="width: 150px;" onclick="WdatePicker({isShowWeek:true})" readonly="readonly"/>
									</td>
								</tr>
								<tr>
									<td align="right" class='bline'>
										行业：
									</td>
									<td class='bline' style="text-align: left;">
										<input name="users.trade" type="text" id="money" value="<s:property value="users.trade"/>"
											style="width: 150px;" />
									</td>
								</tr>
								<tr>
									<td align="right" class='bline'>
										安全问题：
									</td>
									<td class='bline' style="text-align: left;">
										<select name="users.problem" style="width: 160px">
											<option value="0">请选择...</option>
											<option value="你的生日是多少?">你的生日是多少?</option>
										</select>
									</td>
								</tr>
								<tr>
									<td align="right" class='bline'>
										安全问题答案：
									</td>
									<td class='bline' style="text-align: left;">
										<input name="users.answer" type="text" id="money" value=""
											style="width: 150px;" />
									</td>
								</tr>
								<tr>
									<td align="right" class='bline'>
										积分：
									</td>
									<td class='bline' style="text-align: left;">
										<s:if test="users.integral>0">
										<input name="users.integral" type="text" id="money" value="<s:property value="users.integral"/>"
											style="width: 80px;" />
									</s:if>
									<s:else>
										<input name="money" type="text" id="money" value="0"
											style="width: 80px;" />
									</s:else>
										
									</td>
								</tr>
								<tr>
									<td align="right" class='bline'>
										等级：
									</td>
									<td class='bline' style="text-align: left;">
										
									</td>
								</tr>
								<tr>
									<td height="67" align="right">
										&nbsp;
									</td>
									<td height="67" align="left">
										<input type="submit"  value="确定修改" class='coolbg' />
										&nbsp;&nbsp;
										<input type="reset"  value="重置表单"
											class='coolbg' />
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				</form>
			</div>
		</div>
	</body>
</html>